<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Head -->
<head>
    <meta charset="utf-8"/>
    <title>${session.SOFT_NAME }_智能办公系统</title>
    <meta name="description" content="Dashboard"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <%include("/app/resapi/style.html"){} %>
    <link rel="stylesheet" href="/module/zTree_v3/css/bootstrapStyle/bootstrapStyle.css" type="text/css">
    <link href="/module/meeting/meeting.css" rel="stylesheet"/>
    <link href="/module/jeDate/jedate.css" rel="stylesheet"/>
    <style>
        .noprivselect {
            background-color: #fb6e52;
        }
    </style>
</head>
<body style="overflow-y: auto;">
<div class="page-body" style="padding: 4px 0px 0px;">
    <div class="main-container container-fluid">
        <div class="page-container">
            <div class="col-md-12 col-sm-12 col-xs-12" style="padding: 0px">
                <div class="tabbable">
                    <ul class="nav nav-tabs tabs-flat" id="myTab11" style="background-image: url('/gobal/img/tb_header.png'); background-size: 34px 60px;">
                        <li class="active"><a href="/app/core/meeting/applymeeting" aria-expanded="true">会议申请</a></li>
                        <li class=""><a href="/app/core/meeting/applymeeting?view=manage" aria-expanded="false">我申请的会议</a></li>
                    </ul>
                    <div class="tab-content tabs-flat" style="padding: 0px;">
                        <div class="headdiv">
                            <div class="col-md-3 col-sm-3 col-xs-12" style="text-align: left; padding-left: 50px;">
                                <a class="btn btn-primary js-applymeeting" href="javascript:void(0);"><i class="fa fa-briefcase"></i> 申请</a>
                            </div>
                            <div class="col-md-6 col-sm-6 col-xs-12" style="text-align: center;">
                                <a href="javascript:void(0);" style="display: inline-block; margin-right: 20px;" class="btn btn-info btn-circle btn-sm js-reduceday"><i class="glyphicon glyphicon-arrow-left"></i></a>
                                <h3 style="display: inline-block; line-height: 35px; width: 180px">
                                    <b data-value="" id="nowtime"></b>
                                </h3>
                                <a href="javascript:void(0);" style="display: inline-block; margin-left: 20px;" class="btn btn-info btn-circle btn-sm js-addday"><i class="glyphicon glyphicon-arrow-right"></i></a>

                            </div>
                            <div class="col-md-3 col-sm-3 col-xs-12" style="text-align: center;">
									<span class="input-icon icon-right inverted"> <input type="text" id="meetingroomsearch" name="meetingroomsearch" class="form-control" placeholder="会议室查询"> <i
                                            class="glyphicon glyphicon-search bg-darkorange"></i>
									</span>
                            </div>
                        </div>
                        <div class="listdiv" align="center">
                            <div class="divleft">
                                <div>
                                    <ul>
                                        <li class="meetingroom_li">会议室</li>
                                    </ul>
                                </div>
                                <div id="roomlist"></div>
                            </div>
                            <div class="divright">
                                <div class="axis-x" style="width: 2042px;"></div>
                                <div id="filedlist"></div>
                            </div>
                        </div>

                        <div class="modal fade bs-example-modal-lg" id="applymeetingmodal" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel" aria-hidden="true" style="display: none;">
                            <div class="modal-dialog modal-lg">
                                <div class="modal-content">
                                    <div class="modal-header">
                                        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                                        <h4 class="modal-title" id="myLargeModalLabel">会议申请</h4>
                                    </div>
                                    <div class="modal-body" style="height: 400px;overflow-y: auto;">
                                        <form class="form-horizontal" id="form">
                                            <div class="form-group">
                                                <label class="col-sm-2 control-label no-padding-right">会议主题：</label>
                                                <div class="col-sm-4">
                                                    <input type="text" id="subject" name="subject" class="form-control" placeholder="会议主题">
                                                </div>
                                            </div>
                                            <div class="form-group">
                                                <label class="col-sm-2 control-label no-padding-right">会议类型：</label>
                                                <div class="col-sm-4">
                                                    <select id="meetingType" name="meetingType" class="form-control"></select>
                                                </div>
                                            </div>
                                            <div class="form-group">
                                                <label class="col-sm-2 control-label no-padding-right">会议主持：</label>
                                                <div class="col-sm-4">
                                                    <input type="text" id="chair" name="chair" class="form-control" placeholder="会议主持" opt-id="chair" onclick="selectUser(this,'false');">
                                                </div>
                                            </div>
                                            <div class="form-group">
                                                <label class="col-sm-2 control-label no-padding-right">会议室：</label>
                                                <div class="col-sm-8">
                                                    <select id="roomId" name="roomId" class="form-control" style="border-radius: 0px;">
                                                    </select>
                                                </div>
                                            </div>
                                            <div class="form-group">
                                                <label class="col-sm-2 control-label no-padding-right">会议纪要员：</label>
                                                <div class="col-sm-8">
                                                    <input type="text" id="notesUser" name="notesUser" class="form-control" placeholder="会议纪要员" opt-id="notesUser" onclick="selectUser(this,'false');">
                                                </div>
                                            </div>
                                            <div class="form-group">
                                                <label class="col-sm-2 control-label no-padding-right">${i18n('system.beginTime')}：</label>
                                                <div class="col-sm-8">
                                                    <input type="text" id="beginTime" name="beginTime" class="form-control" placeholder="${i18n('system.beginTime')}">
                                                </div>
                                            </div>
                                            <div class="form-group">
                                                <label class="col-sm-2 control-label no-padding-right">${i18n('system.endTime')}：</label>
                                                <div class="col-sm-8">
                                                    <input type="text" id="endTime" name="endTime" class="form-control" placeholder="${i18n('system.endTime')}">
                                                </div>
                                            </div>
                                            <div class="form-group">
                                                <label class="col-sm-2 control-label no-padding-right">内部参会人员：</label>
                                                <div class="col-sm-8">
                                                    <input type="text" id="userJoin" name="userJoin" class="form-control" placeholder="参会人员" opt-id="userJoin" onclick="selectUser(this,'true');">
                                                </div>
                                            </div>
                                            <div class="form-group">
                                                <label class="col-sm-2 control-label no-padding-right">内部参会部门：</label>
                                                <div class="col-sm-8">
                                                    <input type="text" id="deptJoin" name="deptJoin" class="form-control" placeholder="内部参会部门" opt-id="deptJoin" onclick="selectDept(this,'true');">
                                                </div>
                                            </div>
                                            <div class="form-group">
                                                <label class="col-sm-2 control-label no-padding-right">内部参会职务：</label>
                                                <div class="col-sm-8">
                                                    <input type="text" id="levelJoin" name="levelJoin" class="form-control" placeholder="内部参会职务" opt-id="levelJoin" onclick="selectUserLevel(this,'true');">
                                                </div>
                                            </div>
                                            <div class="form-group">
                                                <label class="col-sm-2 control-label no-padding-right">外部参会人员：</label>
                                                <div class="col-sm-8">
                                                    <input type="text" id="otherJoin" name="otherJoin" class="form-control" placeholder="外部参会人员">
                                                </div>
                                            </div>
                                            <div class="form-group">
                                                <label class="col-sm-2 control-label no-padding-right">会议资料：</label>
                                                <div class="col-sm-8">
                                                    <div style="padding-top: 4px;">
                                                        <div id="show_meetingattach"></div>
                                                        <a class="addfile" href="javascript:void(0)">${i18n('fileupload')} <input data_value="" type="file" onchange="fileUpLoad('meeting','meetingattach');" hidefocus="true" size="1" id="meetingattach"
                                                                                                                                  name="meetingattach" class="addfile" multiple="multiple"></a>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="form-group">
                                                <label class="col-sm-2 control-label no-padding-right">附件权限：</label>
                                                <div class="col-sm-8">
                                                    <label> <input type="radio" class="colored-danger" value="1" name="attachPriv" checked="checked"> <span class="text">在线阅读</span>
                                                    </label> <label> <input type="radio" class="colored-danger" value="2" name="attachPriv"> <span class="text">允许打印</span>
                                                </label> <label> <input type="radio" class="colored-danger" value="3" name="attachPriv"> <span class="text">允许下载</span>
                                                </label>
                                                </div>
                                            </div>
                                            <div class="form-group">
                                                <label class="col-sm-2 control-label no-padding-right">申请设备：</label>
                                                <div class="col-sm-8">
                                                    <select id="deviceId" name="deviceId" style="width: 300px;" multiple="multiple">
                                                    </select>
                                                </div>
                                            </div>
                                            <div class="form-group">
                                                <label class="col-sm-2 control-label no-padding-right">备注：</label>
                                                <div class="col-sm-8">
                                                    <textarea rows="" cols="" id="remark" name="remark" class="form-control" placeholder="备注"></textarea>
                                                </div>
                                            </div>
                                            <div class="form-group">
                                                <label class="col-sm-2 control-label no-padding-right">消息提醒：</label>
                                                <div class="col-sm-8" id="msgType" style="padding-left:0px;">
                                                </div>
                                            </div>
                                        </form>
                                    </div>
                                    <div class="modal-footer">
                                        <button type="button" class="btn btn-warning" data-dismiss="modal">${i18n('cancel')}</button>
                                        <button type="button" class="btn btn-primary js-save">${i18n('save')}</button>
                                    </div>
                                </div>
                                <!-- /.modal-content -->
                            </div>
                            <!-- /.modal-dialog -->
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<div id="orgselectdiv"></div>
</body>
<%include("/app/resapi/sysjs.html"){} %>
<script type="text/javascript" src="/module/fileupload/pageoffice.js" id="po_js_main"></script>
<script type="text/javascript" src="/module/zTree_v3/js/jquery.ztree.core.js"></script>
<script type="text/javascript" src="/module/zTree_v3/js/jquery.ztree.excheck.js"></script>
<script type="text/javascript" src="/module/zTree_v3/js/jquery.ztree.exedit.js"></script>
<script type="text/javascript" src="/module/fileupload/ajaxfileupload.js"></script>
<script type="text/javascript" src="/module/fileupload/fileupload.js"></script>
<script type="text/javascript" src="/module/jeDate/jeDate.js"></script>
<script type="text/javascript" src="/module/orgselect/orgselect.js"></script>
<script type="text/javascript" src="/assets/js/select2/select2.js"></script>
<script type="text/javascript" src="/module/meeting/meeting.js"></script>
<script type="text/javascript" src="/gobal/js/page/meeting/applymeeting.js"></script>
</html>
